<script src="js/proinfo/compact/contractInfoStartBSB.js"></script>
<!--main content start-->
<section id="main-content">
    <section class="wrapper">
        <!--state overview end-->
        <div class="row">
            <div class="col-lg-12">
                <section class="panel">
                    <header class="panel-heading">
                        基本信息
                    </header>
                    <div class="panel-body">

                        <div class="bio-row">
                            <p>
                                <span>项目编号</span>{{projInfo.proNo}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>项目区域</span>{{projInfo.proArea}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>项目类型</span>{{projInfo.proType}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>客户名称</span>{{projInfo.cusName}}
                            </p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>项目名称</span>{{projInfo.proName}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>优先级 </span>{{getProjLv(projInfo.proLv)}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>目前状态 </span>{{getState(projInfo.proState)}}</p>
                        </div>
                    </div>

                </section>
                <section class="panel">
                    <header class="panel-heading">
                        合同信息
                    </header>
                    <div class="panel-body">


                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">客户名称*</label>
                            <div class="col-sm-10">
                                <input type="text" value="" class="form-control" ng-disabled="true"
                                       ng-model="contractInfo.compactCusName">
                            </div>
                        </div>

<!--                        <div class="form-group customerForm">-->
<!--                            <label class="col-sm-2 control-label">我司签约公司*</label>-->
<!--                            <div class="col-sm-10">-->
<!--                                <input type="text" value="" class="form-control" ng-disabled="true"-->
<!--                                       ng-model="contractInfo.contractSubject">-->
<!--                            </div>-->
<!--                        </div>-->
                        <!--<div class="form-group customerForm">-->
                        <!--<label class="col-sm-2 control-label">合同编号*</label>-->
                        <!--<div class="col-sm-10">-->
                        <!--<input type="text" value="" class="form-control" ng-disabled="true" ng-model="contractInfo.contractNo">-->
                        <!--</div>-->
                        <!--</div>-->
                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">合同名称</label>
                            <div class="col-sm-10">
                                <input type="text" value="" class="form-control" disabled certus-required
                                       ng-model="contractInfo.contractName" certus-an-limit-length="50"
                                       placeholder="可以使用客户名称和合同名称">
                            </div>
                        </div>
                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">签订人(我司签订人)</label>
                            <div class="col-sm-10">
                                <input type="text" value="" class="form-control" disabled
                                       ng-model="contractInfo.contractSigner"
                                       certus-an-limit-length="50" placeholder="可以使用客户名称和合同名称">
                            </div>
                        </div>
<!--                        <div class="form-group customerForm">-->
<!--                            <label class="col-sm-2 control-label">销售内部编号</label>-->
<!--                            <div class="col-sm-10">-->
<!--                                <input type="text" value="" class="form-control"-->
<!--                                       ng-model="contractInfo.salesInternalCode"-->
<!--                                       certus-an-limit-length="50" placeholder="如果填写销售内部编号，销售内部编号不能重复">-->
<!--                            </div>-->
<!--                        </div>-->

                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">合同金额*</label>
                            <div class="col-sm-10">
                                <div class="input-group m-bot15">
                                    <span class="input-group-addon">￥</span>
                                    <input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)"
                                           class="form-control" ng-disabled="true"
                                           ng-model="contractInfo.contractAmount">
                                    <span class="input-group-addon"> 元</span>
                                </div>
                            </div>
                        </div>
<!--                        <div class="form-group customerForm">-->
<!--                            <label class="col-sm-2 control-label">软件收入金额</label>-->
<!--                            <div class="col-sm-10">-->
<!--                                <div class="input-group m-bot15">-->
<!--                                    <span class="input-group-addon">￥</span>-->
<!--                                    <input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)"-->
<!--                                           class="form-control" ng-disabled="true" ng-model="contractInfo.softIncome">-->
<!--                                    <span class="input-group-addon"> 元</span>-->
<!--                                </div>-->
<!--                            </div>-->
<!--                        </div>-->
<!--                        <div class="form-group customerForm">-->
<!--                            <label class="col-sm-2 control-label">非软件收入金额</label>-->
<!--                            <div class="col-sm-10">-->
<!--                                <div class="input-group m-bot15">-->
<!--                                    <span class="input-group-addon">￥</span>-->
<!--                                    <input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)"-->
<!--                                           class="form-control" ng-disabled="true"-->
<!--                                           ng-model="contractInfo.notSoftIncome">-->
<!--                                    <span class="input-group-addon"> 元</span>-->
<!--                                </div>-->
<!--                            </div>-->
<!--                        </div>-->
<!--                        <div class="form-group customerForm">-->
<!--                            <label class="col-sm-2 control-label">合同签订时间*</label>-->
<!--                            <div class="col-sm-10">-->
<!--                                <input id="time-3" type="text"-->
<!--                                       value="{{contractInfo.contractSignTime |date:'yyyy-MM-dd'}} "-->
<!--                                       class="form-control" ng-disabled="true"-->
<!--                                >-->
<!--                            </div>-->
<!--                        </div>-->
<!--                        <div class="form-group customerForm">-->
<!--                            <label class="col-sm-2 control-label">交付时间*</label>-->
<!--                            <div class="col-sm-10">-->
<!--                                <input id="time-1" type="text" value="" class="form-control" ng-disabled="true"-->
<!--                                       ng-model="contractInfo.deliveryTime">-->
<!--                            </div>-->
<!--                        </div>-->
<!--                        <div class="form-group customerForm">-->
<!--                            <label class="col-sm-2 control-label">最终结算日期</label>-->
<!--                            <div class="col-sm-10">-->
<!--                                <input id="time-2" type="text" value="" class="form-control" ng-disabled="true"-->
<!--                                       ng-model="contractInfo.finalDate">-->
<!--                            </div>-->
<!--                        </div>-->
<!--                        <div class="form-group customerForm">-->
<!--                            <label class="col-sm-2 control-label">交付地*</label>-->
<!--                            <div class="col-sm-10">-->
<!--                                <input type="text" value="" class="form-control" ng-disabled="true"-->
<!--                                       ng-model="contractInfo.deliveryTo">-->
<!--                            </div>-->
<!--                        </div>-->
<!--                        <div class="form-group customerForm">-->
<!--                            <label class="col-sm-2 control-label">合同关键条款*</label>-->
<!--                            <div class="col-sm-10">-->
<!--                                <textarea class="form-control" ng-disabled="true" maxlength="120"-->
<!--                                          ng-model="contractInfo.keyTerms"></textarea>-->
<!--                            </div>-->
<!--                        </div>-->
                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">申请说明</label>
                            <div class="col-sm-10">
                                <textarea class="form-control" ng-disabled="true" disabled maxlength="120"
                                          ng-model="contractInfo.applyInstruction"></textarea>
                            </div>
                        </div>


<!--                        <div class="form-group customerForm">-->
<!--                            <label class="col-sm-2 control-label">付款条款*</label>-->
<!--                            <div class="col-sm-10">-->
<!--                                <div class="input-group m-bot15">-->
<!--                                    <span class="input-group-addon">首付款</span>-->
<!--                                    <input type="text" certus-an-limit-length-num="5"-->
<!--                                           ng-change="moneyChange(contractInfo.preliminaryInspection,'#time-11','initialPayment')"-->
<!--                                           certus-required class="form-control"-->
<!--                                           ng-model="contractInfo.initialPayment" disabled>-->
<!--                                    <span class="input-group-addon">%</span>-->
<!--                                </div>-->
<!--                            </div>-->
<!--                        </div>-->

<!--                        <div class="form-group customerForm"-->
<!--                             ng-if="contractInfo.initialPayment && contractInfo.initialPayment > 0.00">-->
<!--                            <label class="col-sm-2 control-label">首付款日期</label>-->
<!--                            <div class="col-sm-10">-->
<!--                                <input id="time-11" onfocus="initDate(this,'#time-11','initialPayment')"-->
<!--                                       ocus="initDate('#time-11','initialPayment')" type="text" class="form-control"-->
<!--                                       onkeydown="return banInputSapce(event);"-->
<!--                                       value="{{contractInfo.initialPaymentDate | date:'yyyy-MM-dd'}}"-->
<!--                                       ng-model="contractInfo.initialPaymentDate" certus-required disabled>-->
<!--                            </div>-->
<!--                        </div>-->

<!--                        <div class="form-group customerForm">-->
<!--                            <label class="col-sm-2 control-label"></label>-->
<!--                            <div class="col-sm-10">-->
<!--                                <div class="input-group m-bot15">-->
<!--                                    <span class="input-group-addon">初验</span>-->
<!--                                    <input type="text" certus-an-limit-length-num="5" certus-required-->
<!--                                           class="form-control"-->
<!--                                           ng-model="contractInfo.preliminaryInspection" disabled-->
<!--                                           ng-change="moneyChange(contractInfo.preliminaryInspection,'#time-12','preliminaryInspection')">-->
<!--                                    <span class="input-group-addon">%</span>-->
<!--                                </div>-->
<!--                            </div>-->
<!--                        </div>-->

<!--                        <div class="form-group customerForm"-->
<!--                             ng-if="contractInfo.preliminaryInspection && contractInfo.preliminaryInspection > 0.00">-->
<!--                            <label class="col-sm-2 control-label">初验日期</label>-->
<!--                            <div class="col-sm-10">-->
<!--                                <input id="time-12" type="text"-->
<!--                                       onfocus="initDate(this,'#time-12','preliminaryInspection')" class="form-control"-->
<!--                                       onkeydown="return banInputSapce(event);"-->
<!--                                       value="{{contractInfo.preliminaryInspectionDate | date:'yyyy-MM-dd'}}"-->
<!--                                       certus-required disabled>-->
<!--                            </div>-->
<!--                        </div>-->

<!--                        <div class="form-group customerForm">-->
<!--                            <label class="col-sm-2 control-label"></label>-->
<!--                            <div class="col-sm-10">-->
<!--                                <div class="input-group m-bot15">-->
<!--                                    <span class="input-group-addon">终验</span>-->
<!--                                    <input type="text" certus-an-limit-length-num="5"-->
<!--                                           ng-change="moneyChange(contractInfo.preliminaryInspection,'#time-13','finalAcceptance')"-->
<!--                                           certus-required class="form-control"-->
<!--                                           ng-model="contractInfo.finalAcceptance" disabled>-->
<!--                                    <span class="input-group-addon">%</span>-->
<!--                                </div>-->
<!--                            </div>-->
<!--                        </div>-->

<!--                        <div class="form-group customerForm"-->
<!--                             ng-if="contractInfo.finalAcceptance && contractInfo.finalAcceptance > 0.00">-->
<!--                            <label class="col-sm-2 control-label">终验日期</label>-->
<!--                            <div class="col-sm-10">-->
<!--                                <input id="time-13" type="text" class="form-control"-->
<!--                                       onfocus="initDate(this,'#time-13','finalAcceptance')"-->
<!--                                       onkeydown="return banInputSapce(event);"-->
<!--                                       value="{{contractInfo.finalAcceptanceDate | date:'yyyy-MM-dd'}}" certus-required-->
<!--                                       disabled>-->
<!--                            </div>-->
<!--                        </div>-->

<!--                        <div class="form-group customerForm">-->
<!--                            <label class="col-sm-2 control-label"></label>-->
<!--                            <div class="col-sm-10">-->
<!--                                <div class="input-group m-bot15">-->
<!--                                    <span class="input-group-addon">尾款</span>-->
<!--                                    <input type="text" certus-an-limit-length-num="5"-->
<!--                                           ng-change="moneyChange(contractInfo.preliminaryInspection,'#time-14','finalPayment')"-->
<!--                                           certus-required class="form-control"-->
<!--                                           ng-model="contractInfo.finalPayment" disabled>-->
<!--                                    <span class="input-group-addon">%</span>-->
<!--                                </div>-->
<!--                            </div>-->
<!--                        </div>-->

<!--                        <div class="form-group customerForm"-->
<!--                             ng-if="contractInfo.finalPayment && contractInfo.finalPayment > 0.00">-->
<!--                            <label class="col-sm-2 control-label">尾款日期</label>-->
<!--                            <div class="col-sm-10">-->
<!--                                <input id="time-14" type="text" class="form-control"-->
<!--                                       onfocus="initDate(this,'#time-14','finalPayment')"-->
<!--                                       onkeydown="return banInputSapce(event);"-->
<!--                                       value="{{contractInfo.preliminaryInspectionDate | date:'yyyy-MM-dd'}}"-->
<!--                                       certus-required disabled>-->
<!--                            </div>-->
<!--                        </div>-->

<!--                        <div class="form-group customerForm">-->
<!--                            <label class="col-sm-2 control-label">合同份数*</label>-->
<!--                            <div class="col-sm-10">-->
<!--                                <input type="text" value="" onkeyup="value=value.replace(/^(0+)|[^\d]+/g,'')"-->
<!--                                       certus-an-limit-length-num="3" class="form-control" ng-disabled="true"-->
<!--                                       ng-model="contractInfo.contractNumber">-->
<!--                            </div>-->
<!--                        </div>-->

                        <!--<div class="form-group customerForm">
                            <label class="col-sm-2 control-label">退回说明</label>
                            <div class="col-sm-10">
                                <textarea class="form-control" ng-disabled="true" ng-model="contractInfo.applyInstruction"
                                    disabled></textarea>
                            </div>
                        </div>-->


                    </div>
                </section>
                <section class="panel">
                    <div class="panel-body">
                        <p class="default-buttons">
                            <a href="javascript:void(0);" class="button-back btn btn-info"
                               onclick="window.history.back()">返回</a>
                            <a href="javascript:void(0);" class="button-next  btn btn-info"
                               onclick="window.history.back()">确认</a>
                        </p>
                    </div>
                </section>
            </div>
        </div>
    </section>
</section>


<div ng-include="'templates/workflow/scheduled/processs.html'"></div>